using System;
using System.Collections.Generic;

namespace command
{
    public class Cmd
    {
        public delegate void CmdFunction(string[] args);

        public string Command;
        public bool NeedArg;
        public bool IsWorkAreaCmd;
        public string Discript;
        public string Format;
        public string Data;

        public CmdFunction Function;

        public void Register()
        {
            CmdLine.RegisterCmd(this);
        }
    }
}